home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio / Ray Dream Studio (CDRAYD1) (Ray Dream) (1995).iso / DREAMSDK.WIN / INCLUDE / X3DIOAPI.H < prev    next >
C/C++ Source or Header  |  1995-09-01  |  2KB  |  37 lines

  1. // This is an unpublished work containing Ray Dream, Inc. Confidential and
  2. // Proprietary information. If publication occurs, the following notice applies:
  3. // "Copyright © 1990-1993 Ray Dream, Inc. All rights reserved."
  4. /* $Id: x3dioapi.h 1.9 1994/09/20 23:56:15 erik-ppc Exp $ */
  5.  
  6. #ifndef __X3DIOAPI__
  7. #define __X3DIOAPI__
  8.  
  9. struct ExternalInstance;
  10. class TScene;
  11. class TTree;
  12. class TEVOffscreen;
  13.  
  14. #if defined(qPointersD0) && defined(__MWERKS__) && defined(qPowerPC)
  15. #pragma pointers_in_D0
  16. #endif
  17.  
  18. //-- Importers:
  19. typedef short (*X3DIOImporterDoPrepareProc)(ExternalInstance* This, const char* fullPathName, TScene* scene, TTree* fatherTree);
  20. typedef short (*X3DIOImporterWantsOptionDialogProc)(ExternalInstance* This);
  21. typedef void (*X3DIOImporterDoImportProc)(ExternalInstance* This, const char* fullPathName, TScene* scene, TTree* fatherTree);
  22.  
  23. //-- Exporters:
  24. typedef short (*X3DIOExporterDoPrepareProc)(ExternalInstance* This, TScene* scene, TTree* fatherTree);
  25. typedef short (*X3DIOExporterWantsOptionDialogProc)(ExternalInstance* This);
  26. typedef short (*X3DIOExporterDoNeedDiskSpaceProc)(ExternalInstance* This, const char* fullPathName, TScene* scene, TTree* fatherTree, long* dataForkSize, long* rsrcForkSize);
  27. typedef void (*X3DIOExporterDoExportProc)(ExternalInstance* This, const char* fullPathName, TScene* scene, TTree* fatherTree);
  28. typedef Boolean (*X3DIOExporterWantsPreviewProc)(ExternalInstance* This);
  29. typedef void (*X3DIOExporterPreviewSizeProc)(ExternalInstance* This, short& sizeh, short& sizev);
  30. typedef void (*X3DIOExporterSetPreviewProc)(ExternalInstance* This, TEVOffscreen* preview);
  31.  
  32. #if defined(qPointersD0) && defined(__MWERKS__) && defined(qPowerPC)
  33. #pragma pointers_in_A0
  34. #endif
  35.  
  36. #endif
  37.